package com.datang.springcode.byNameorbyType;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class User {
    @Autowired
    public Fruits fruits;
}
